<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>轮播图</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/layui/src/layui.js"></script>
    <script src="/layui/src/jquery-3.2.1.min.js"></script>

    <link rel="stylesheet" href="css/CouponManagement.css">
    <script type="text/javascript" src="js/Carousel.js"></script>

</head>
<body>
<div class="layui-container">
    <!--优惠券列表部分-->
    <div class="layui-row" id="List_Header">
        <div class="layui-col-xs10 layui-col-sm10 layui-col-md10 layui-col-lg10">
            <span id="color_id">▉</span>
            <span id="List_Header_span">轮播图</span>
        </div>
        <div class="layui-col-xs1 layui-col-sm1 layui-col-md1 layui-col-lg1">
            <button type="button" class="layui-btn layui-btn-primary layui-border-black layui-btn-sm List_Header_button" id="refresh" onclick="refresh()">
                <i class="layui-icon layui-icon-refresh"></i> &nbsp;刷新
            </button>
        </div>
        <div class="layui-col-xs1 layui-col-sm1 layui-col-md1 layui-col-lg1">
            <button type="button" class="layui-btn layui-btn-primary layui-border-black layui-btn-sm List_Header_button" onclick="go()">
                <i class="layui-icon layui-icon-left"></i> 返回
            </button>
        </div>
    </div>
    <!--筛选查询-->
    <div class="layui-row" id="List_query">
        <div class="layui-col-xs10 layui-col-sm10 layui-col-md10 layui-col-lg10">
            <i class="layui-icon layui-icon-search"></i>   <span id="List_query_span">筛选查询</span>
        </div>
        <div class="layui-col-xs1 layui-col-sm1 layui-col-md1 layui-col-lg1">
            <button type="button" class="layui-btn layui-btn-primary layui-border-black layui-btn-sm List_query_button" id="retrieve" onclick="retrieve()">
                高级检索
            </button>
        </div>
        <div class="layui-col-xs1 layui-col-sm1 layui-col-md1 layui-col-lg1">
            <button type="button" class="layui-btn layui-btn-primary layui-border-black layui-btn-sm List_query_button" id="selProduct" onclick="selCarousel()">
                查询结果
            </button>
        </div>
    </div>
    <div  id="List_query2">
        <form class="layui-form" action="" id="layui-form">
            <div class="layui-form-item" id="layui-form-item" >
                <div class="layui-inline inline">
                    <label class="layui-form-label List_query2_label label">轮播图名称：</label>
                    <div class="layui-input-block block">
                        <input type="text" name="img_title" class="layui-input input" placeholder="轮播图名称" id="img_title"/>
                    </div>
                </div>

                <div class="layui-inline inline">
                    <label class="layui-form-label List_query2_label">上线\下线：</label>
                    <div class="layui-input-block">
                        <select  id="display">
                            <option value="">请选择上线\下线</option>
                            <option value="2">上线</option>
                            <option value="3">下线</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline inline">
                    <label class="layui-form-label List_query2_label">图片类型：</label>
                    <div class="layui-input-block">
                        <select  id="img_type">
                            <option value="">请选择图片类型</option>
                            <option value="1">商品</option>
                            <option value="2">视频</option>
                        </select>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <!--数据列表-->
    <div class="layui-row" id="List_querys">
        <div class="layui-col-xs11 layui-col-sm11 layui-col-md11 layui-col-lg11">
            <i class="layui-icon layui-icon-form"></i>
            <span id="List_query_spans">数据列表</span>
        </div>
        <div class="layui-col-xs1 layui-col-sm1 layui-col-md1 layui-col-lg1">
            <button type="button" class="layui-btn layui-btn-primary layui-border-black layui-btn-sm List_query_button" onclick="addCarousel()">
                添加轮播图
            </button>
        </div>
    </div>
    <table id="table_id"></table>
</div>

<!--编号赋值-->
<input type="hidden" id="serial_number">
<!-- 开始时间赋值-->
<input type="hidden" id="start_date">
<!-- 结束时间赋值-->
<input type="hidden" id="expire_date">
</body>
</html>
